package com.cloud.drore.eboss.operation.entity.po;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.sql.Time;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: POI区域更新实体类po<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/5 0005 下午 6:12 <br>
 * @Author: <a href="410508961@qq.com">夏凯</a>
 */
@Data
public class POIOperationPo extends BaseEntity<Long> {


    /**
     * 联系人
     */
    @NotBlank(message = "联系人名称不能为空！")
    @JsonProperty("link_man")
    @JSONField(name = "link_man")
    @ApiModelProperty(name = "link_man", notes = "联系人", example = "冯腾")
    private String linkMan;

    /**
     * 联系电话
     */
    @NotBlank(message = "联系电话不能为空！")
    @JsonProperty("telephone")
    @JSONField(name = "telephone")
    @ApiModelProperty(name = "telephone", notes = "联系电话", example = "18888888888")
    private String telephone;


    /**
     * 开放时间
     */
    @NotNull(message = "开放时间不能为空！")
    @JsonProperty("open_time")
    @JSONField(name = "open_time", format = "HH:mm:ss")
    @ApiModelProperty(name = "open_time", notes = "开放时间", example = "08:30:10")
    private Time openTime;

    /**
     * 结束时间
     */
    @NotNull(message = "结束时间不能为空！")
    @JsonProperty("end_time")
    @JSONField(name = "end_time", format = "HH:mm:ss")
    @ApiModelProperty(name = "end_time", notes = "开放时间", example = "18:30:10")
    private Time endTime;



    /**
     * 客服电话
     */
    @NotBlank(message = "客服电话不能为空！")
    @JsonProperty("customer_tel")
    @JSONField(name = "customer_tel")
    @ApiModelProperty(name = "customer_tel", notes = "客服电话", example = "0571-88888888")
    private String customerTel;

    /**
     * 封面图
     */
    @NotBlank(message = "封面图不能为空！")
    @JsonProperty("covermap_url")
    @JSONField(name = "covermap_url")
    @ApiModelProperty(name = "covermap_url", notes = "封面图", example = "covermap_url")
    private String covermapUrl;

    /**
     * 方形封面图
     */
    @JsonProperty("covermap_square_url")
    @JSONField(name = "covermap_square_url")
    @ApiModelProperty(name = "covermap_square_url", notes = "方形封面图", example = "covermap_square_url")
    private String covermapSquareUrl;

    /**
     * 相册
     */
    @JsonProperty("album_url")
    @JSONField(name = "album_url")
    @ApiModelProperty(name = "album_url", notes = "相册", example = "album_url")
    private String albumUrl;

    /**
     * 景区介绍文字
     */
    @NotBlank(message = "景区介绍不能为空！")
    @JsonProperty("scenica_introduction_text")
    @JSONField(name = "scenica_introduction_text")
    @ApiModelProperty(name = "scenica_introduction_text", notes = "景区介绍", example = "如何吸引用户的目光让人眼前一亮的印象，请用心为本店做详情介绍吧（15字以上）……")
    private String scenicaIntroductionText;


    /**
     * 验证说明
     */
    @NotBlank(message = "验证说明不能为空！")
    @JsonProperty("verification_instructions")
    @JSONField(name = "verification_instructions")
    @ApiModelProperty(name = "verification_instructions", notes = "验证说明", example = "我在验证……")
    private String verificationInstructions;

}